//
//  TTRecyclingCellModel.m
//  TaoTuo
//
//  Created by apple on 2020/9/18.
//  Copyright © 2020 刘广. All rights reserved.
//

#import "TTRecyclingCellModel.h"


@implementation TTRecyclingCellModel

+ (instancetype)setupModelWithTitle:(NSString *)title content:(NSString *)content placeholder:(NSString *)placeholder rightString:(NSString *)rightString cellType:(RecycleCellModelType)cellType target:(nullable id)target action:(nullable SEL)action
{
    return [self setupModelWithTitle:title content:content placeholder:placeholder rightString:rightString cellType:cellType keyboardType:UIKeyboardTypeDefault target:target action:action];
}

+ (instancetype)setupModelWithTitle:(NSString *)title content:(NSString *)content placeholder:(NSString *)placeholder rightString:(NSString *)rightString cellType:(RecycleCellModelType)cellType keyboardType:(UIKeyboardType)keyboardType target:(nullable id)target action:(nullable SEL)action
{
    TTRecyclingCellModel *model = [[self alloc] init];
    model.title = title;
    model.content = content;
    model.placeholder = placeholder;
    model.rightString = rightString;
    model.cellType = cellType;
    model.keyboardType = keyboardType;
    model.target = target;
    model.action = action;
    
    return model;
}

@end
